Skip to content

Conversation

@mportiz08
Copy link
Contributor

Bug/issue #, if applicable:

Summary

Document that typescript code listings can now be syntax highlighted with DocC-Render.

Adds an entry to the "Add Code Listings" section of "Formatting your documentation content" that documents which languages are expected to have syntax highlighting support in the renderer.

Dependencies

swiftlang/swift-docc-render#975 (thanks @mgrebenets)

Testing

Steps:

  1. Run bin/preview-docs DocC and verify that the table at http://localhost:8080/documentation/docc/formatting-your-documentation-content#Add-Code-Listings has a new entry for typescript

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran the ./bin/test script and it succeeded
  • Updated documentation if necessary

@mportiz08
Copy link
Contributor Author

@swift-ci test

@heckj
Copy link
Member

heckj commented Oct 20, 2025

nice!

Copy link
Contributor

@anferbui anferbui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mportiz08
Copy link
Contributor Author

@swift-ci test

@mportiz08 mportiz08 merged commit d89dfe7 into swiftlang:main Dec 18, 2025
2 checks passed
@mportiz08 mportiz08 deleted the document-typescript-as-supported-syntax-highlighted-lang branch December 18, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants